package com.upic.service;

import com.upic.po.Notice;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface NoticeService {
    Notice saveNotice(Notice notice);

    String deleteNotice(long noticeId);

    Page<Notice> searchNotice(Pageable pageable);

    List<Notice> searchNotice();

    Notice findOne(long noticeId);

    Notice updateNotice(Notice notice);

}
